package org.ejc.api.convention;

import javax.ejb.SessionBean;

import org.apache.log4j.Logger;
import org.ejc.persist.model.Convention;
import org.ejc.util.EJCUtils;

/**
 * @author zac
 * 
 * @ejb.bean type="Stateless" name="ConventionAPI"
 *           description="ConventionAPI session bean"
 *           local-jndi-name="org.ejc/ConventionAPILocalHome"
 *           jndi-name="org.ejc/ConventionAPIHome" view-type="both"
 * 
 * @ejb.ejb-ref ejb-name="ConventionHistoryAPI" ref-name="ejb/ConventionAPI"
 *              view-type="both"
 * 
 * @ejb.transaction type="RequiresNew"
 * @ejb.util generate = "physical"
 */
public abstract class ConventionAPIBean implements SessionBean{
	/**
	 * Logger for this class
	 */
	private static final Logger logger = Logger.getLogger(ConventionAPIBean.class);
	
	
	/**
	 * 
	 * @ejb.interface-method view-type="both"
	 * 
	 */
//	public Convention getCurrentConvention(){
//		return EJCUtils.getCurrentActiveConvention();
//	}
//	
	

}
